package com.hgkj.system.domain.dto.request;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AssignRoleMenu {

    @Min(value = 2, message = "roleId不能小于2")
    @NotNull(message = "roleId不能为空")
    private Long roleId;
    private Long[] menuIds;
}
